package com.cn.kehong.domain;

import com.cn.kehong.utils.CommonUtil;
import com.cn.kehong.utils.QueryForm;

import java.util.Date;
import java.util.List;

public class Energy {
    private String id;

    private String workshop;

    private String energyType;

    private String unit;

    private String recordMonth;

    private String recordYear;

    private String recordDay;

    private String lastYear;

    private String thisYear;

    private String thisMonth;

    private String yesterday;

    private String today;

    private Date createTime;

    private Date updateTime;

    private String sumLastYear;
    private String sumThisYear;
    private String sumYesterday;
    private String hjToday;


    private String area;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getWorkshop() {
        return workshop;
    }

    public void setWorkshop(String workshop) {
        this.workshop = workshop == null ? null : workshop.trim();
    }

    public String getEnergyType() {
        return energyType;
    }

    public void setEnergyType(String energyType) {
        this.energyType = energyType == null ? null : energyType.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public String getRecordMonth() {
        return recordMonth;
    }

    public void setRecordMonth(String recordMonth) {
        this.recordMonth = recordMonth == null ? null : recordMonth.trim();
    }

    public String getRecordYear() {
        return recordYear;
    }

    public void setRecordYear(String recordYear) {
        this.recordYear = recordYear == null ? null : recordYear.trim();
    }

    public String getRecordDay() {
        return recordDay;
    }

    public void setRecordDay(String recordDay) {
        this.recordDay = recordDay == null ? null : recordDay.trim();
    }

    public String getLastYear() {
        return lastYear;
    }

    public void setLastYear(String lastYear) {
        this.lastYear = lastYear == null ? null : lastYear.trim();
    }

    public String getThisYear() {
        return thisYear;
    }

    public void setThisYear(String thisYear) {
        this.thisYear = thisYear == null ? null : thisYear.trim();
    }

    public String getThisMonth() {
        return thisMonth;
    }

    public void setThisMonth(String thisMonth) {
        this.thisMonth = thisMonth == null ? null : thisMonth.trim();
    }

    public String getYesterday() {
        return yesterday;
    }

    public void setYesterday(String yesterday) {
        this.yesterday = yesterday == null ? null : yesterday.trim();
    }

    public String getToday() {
        return today;
    }

    public void setToday(String today) {
        this.today = today == null ? null : today.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSumLastYear() {
        return sumLastYear;
    }

    public void setSumLastYear(String sumLastYear) {
        this.sumLastYear = sumLastYear;
    }

    public String getSumThisYear() {
        return sumThisYear;
    }

    public void setSumThisYear(String sumThisYear) {
        this.sumThisYear = sumThisYear;
    }

    public String getSumYesterday() {
        return sumYesterday;
    }

    public void setSumYesterday(String sumYesterday) {
        this.sumYesterday = sumYesterday;
    }

    public String getHjToday() {
        return hjToday;
    }

    public void setHjToday(String hjToday) {
        this.hjToday = hjToday;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCreateTimeFt() {
        String formatTime = CommonUtil.getStrTime(getCreateTime(),"yyyy-MM-dd HH:mm:ss");
        return formatTime;
    }
}